package com.app.service;

import com.app.model.MilitarySportsModel;
import com.app.util.Result;
import com.app.vo.MilitarySportsVo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface MilitarySportsService {
    void update(MilitarySportsModel militarySportsModel);

    void insert(MilitarySportsModel militarySportsModel);

    MilitarySportsVo getMilitarySportsList(Integer page, Integer limit, String name, Integer departmentId, Integer sortType);

    void deleteMilitarySportsList(Integer id);

    MilitarySportsModel selectMilitarySportsById(Integer id);

    List<MilitarySportsModel> getPlantByIds(List<Integer> appIdList);

    //导入军事体育信息
    String importMilitarySports(MultipartFile file) throws IOException;

    Result<Object> deleteBatchByIds(String ids);
    //导入军事体育信息(包含双杠等)
    String importMilitarySportsNew(MultipartFile file) throws IOException;
}
